projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8dbe59
)
Fix a flaky test (due to hashes changing)
author
Alex Crichton
<alex@alexcrichton.com>
Mon, 11 Aug 2014 05:08:57 +0000
(22:08 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Mon, 11 Aug 2014 05:08:57 +0000
(22:08 -0700)
tests/test_cargo_cross_compile.rs
patch
|
blob
|
history
diff --git
a/tests/test_cargo_cross_compile.rs
b/tests/test_cargo_cross_compile.rs
index 035bc45e6dcf01eb47fa26cfc31ef913771dbe9e..2067b4b70f1d31d96bc05794dd6c208d7995537a 100644
(file)
--- a/
tests/test_cargo_cross_compile.rs
+++ b/
tests/test_cargo_cross_compile.rs
@@
-366,6
+366,9
@@
test!(cross_tests {
name = "foo"
authors = []
version = "0.0.0"
+
+ [[bin]]
+ name = "bar"
"#)
.file("src/main.rs", r#"
extern crate foo;
@@
-386,7
+389,7
@@
test!(cross_tests {
execs().with_status(0)
.with_stdout(format!("\
{compiling} foo v0.0.0 ({foo})
-{running} target[..]{triple}[..]test[..]
foo
-[..]
+{running} target[..]{triple}[..]test[..]
bar
-[..]
running 1 test
test test ... ok